package com.hjn.springcloud.dao;

import com.hjn.springcloud.pojo.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author huaijiannan
 * @date 2021/5/15 9:30
 * @description
 */
@Mapper
public interface PaymentMapper {
    /**
     * @功能描述 添加支付
     * @author huaijiannan
     * @dae 2021/5/15 9:31
    */
    public int create(Payment payment);

    /**
     * @功能描述 根据id查询支付信息
     * @author huaijiannan
     * @date 2021/5/15 9:32
     */
    public Payment getPaymentById(@Param("id") Long id);

}